<script>

//client details
var myParams = {cmd: "getdata",templ: "clientdetail.xsl",ctltype: "CLIENT",filter: " and ([xmlData].value('(genxml/hidden/itemid)[[1]]', 'nvarchar(10)') = '[<tag type="valueof" xpath="genxml/hidden/clientid" />]')"};
var cmdget = '/desktopmodules/Nbright/NBrightEspace/XmlConnector.ashx?' + jQuery.param(myParams);
$.fn.initlist('.clientdetails', '', cmdget);

$(document).ready(function () {
	if ($('.clientid').val() == '') $('a[[id*="cmdGoWebsite"]]').hide();
}); 

</script>	

[<tag id="ClientID" class="clientid" type="hidden" value="" />]
[<tag id="ClientRef" type="hidden" value="" />]
[<tag id="ClientName" type="hidden" value="" />]
[<tag id="CompanyName" type="hidden" value="" />]
<div class="nwb-button-container">
<br/>
<div class="nwb-button-group">
[<tag id="cmdGoClient" type="linkbutton" cssclass="nwb-button icon search" resourcekey="General.viewclient" commandname="goclient" commandargument="ItemID" />]
[<tag id="cmdSelectClient" type="linkbutton" cssclass="nwb-button icon add hidewhencomplete" resourcekey="General.lblSelectClient" commandname="SelectClient" commandargument="ItemID" />]
</div>
</div>
<div class="clientdetails"></div>

